<%@page import="test.User"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="user" scope="page" class="test.User" />
<jsp:setProperty name="user" property="id" value="personnel_0001"/>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Recherche LDAP : ${pageContext.request.remoteUser}</title>
    </head>
    <body>
        <h1>Résultat de votre recherche pour ${user.id}</h1>
        <p>login : ${user.id}</p>
        <p>Nom : ${user.nom}</p>
        <p>Prénom : ${user.prenom}</p>
        <p>Nom complet : <jsp:getProperty name="user" property="nomComplet" /></p>
        <p>Mail : <jsp:getProperty name="user" property="mail" /></p>
        
        <form method="POST" action="recherche.jsp">
        <input type="submit" value="RECHERCHE"/></form><br>
        <form method="POST" action="edition.jsp">
        <input type="submit" value="CREER"/></form><br>
        <form method="POST" action="import.jsp">
        <input type="file" id="import"/><br>
        <input type="submit" value="IMPORTER" /></form>
    </body>
    
</html>
